package main

import "fmt"

type stringSlice []string

func (str stringSlice) init() {
	for i, v := range str {
		str[i] = "New " + v
	}
}

func main() {
	str := []string{"Mars", "Uranus", "Neptune"}
	stringSlice(str).init()

	fmt.Println(str)

	str1 := [...]string{"12", "3", "4", "5"}

	str2 := str1[0:2]

	str3 := append(str2, "456")

	fmt.Println(str1, str2, str3)
}
